package wapbean;

import common.DBHandle;

public class WapuserorderlogBean {
	  private String spid;
	  private String cpid;
	  private String mobileModelId;
	  private String ContentID;  
	  private String createtime;
	  private String submitCode;
	  private String ProviderID;
	  private String price;
	public String getContentID() {
		return ContentID;
	}
	public void setContentID(String contentID) {
		ContentID = contentID;
	}
	public String getCpid() {
		return cpid;
	}
	public void setCpid(String cpid) {  
		this.cpid = cpid;
	}
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
	public String getMobileModelId() {
		return mobileModelId;
	}
	public void setMobileModelId(String mobileModelId) {
		this.mobileModelId = mobileModelId;
	}
	public String getPrice() {
		return price;
	}
	public void setPrice(String price) {
		this.price = price;
	}
	public String getProviderID() {
		return ProviderID;
	}
	public void setProviderID(String providerID) {
		ProviderID = providerID;
	}
	public String getSpid() {
		return spid;
	}
	public void setSpid(String spid) {
		this.spid = spid;
	}
	public String getSubmitCode() {
		return submitCode;
	}
	public void setSubmitCode(String submitCode) {  
		this.submitCode = submitCode;
	}
	
	 public void wapinfor() {     

		   String sql ="insert into wapuserorderlog(spid,cpid,mobileModelId,ContentID,createtime,submitCode,ProviderID,price)values('"+this.spid+"','"+this.cpid+"','"+this.mobileModelId+"','"+this.ContentID+"','"+this.createtime+"','"+this.submitCode+"','"+this.ProviderID+"','"+this.price+"')";  
		   System.out.println(sql);
		   DBHandle.updateSql(sql);       
	}
	
}
